package com.abcd

import com.facebook.react.ReactActivity
import com.facebook.react.ReactActivityDelegate

/**
 * Created by mazaiting on 2018/6/6.
 */

class MainActivity : ReactActivity() {
    
    override fun createReactActivityDelegate(): ReactActivityDelegate {
        return LocalReactActivityDelegate(this, mainComponentName)
    }
    
    /**
     * Returns the name of the main component registered from JavaScript.
     * This is used to schedule rendering of the component.
     */
    override fun getMainComponentName(): String? {
        return "abcd"
    }
}
